package model

import "gorm.io/gorm"

type Novel struct {
	gorm.Model
	Title   string `gorm:"type:varchar(30)"json:"title"`
	Content string `gorm:"type:varchar(200)"json:"content"`
	Img     string `gorm:"type:varchar(500)"json:"img"`
	UserId  int    `gorm:"type:int(11)"json:"userId"`
}
